package com.yunzong.iot.mqtt.data;

public class Payload {


    public String getId() {
        return id;
    }

    public String getType() {
        return type;
    }

    public Data getData() {
        return data;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setType(String type) {
        this.type = type;
    }

    String id;
    String type;
    Data data;

    public class Data{

        /**
         * 新订单
         */
        public static final String TYPE_NEW_ORDER="new_order";


        /**
         * 新支付
         */
        public static final String TYPE_PAY_ORDER="pay_order";


        public String getType() {
            return type;
        }

        public String getContent() {
            return content;
        }

        String type;
        String content;
    }

}
